package com.learn.swagger.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author wm
 * swagger配置属性
 */
@Component
@ConfigurationProperties(value = "cus.swagger")
public class CusSwaggerProperties {
    /**
     * 跳过生成swagger文档
     */
    private List<String> skipPath;
    private String gatewayRouteName = "gateway";

    public List<String> getSkipPath() {
        return skipPath;
    }

    public void setSkipPath(List<String> skipPath) {
        this.skipPath = skipPath;
    }

    public String getGatewayRouteName() {
        return gatewayRouteName;
    }

    public void setGatewayRouteName(String gatewayRouteName) {
        this.gatewayRouteName = gatewayRouteName;
    }
}
